<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">
								<label class="col-sm-3 control-label">业主名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" class="form-control" type="text" placeholder="请填写名称">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">业主性别：</label>
								<div class="col-sm-8">
									<label class="radio-inline" th:each="dict:${dictList}">
										<input  type="radio" id="owbersSex" name="owbersSex" th:value="${dict.value}" th:text="${dict.name}"/>
									</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">业主电话：</label>
								<div class="col-sm-8">
									<input id="owbersPhone" name="owbersPhone" class="form-control" type="text" placeholder="输入手机号码" maxlength="11" onkeyup="this.value=this.value.replace(/\D/g,'')">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">所属小区：</label>
								<div class="col-sm-8">
									<input id="community" name="community" class="form-control" type="text" placeholder="房屋所属小区名称">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">所在位置：</label>
								<div class="col-sm-8">
									<input id="address" name="address" class="form-control" type="text" placeholder="房屋详细地址">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">性质：</label>
								<div class="col-sm-8">
									<select id="nature" name="nature"  class="form-control valid" style="width: 100%"  >
										<option th:each="dict:${houseNatureList}"  th:value="${dict.value}" th:text="${dict.name}">请选择</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">类型：</label>
								<div class="col-sm-8">
									<input id="type" name="type" class="form-control" type="text" placeholder="请输入房屋类型">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">产权年限：</label>
								<div class="col-sm-8">
									<input id="yearLimit" name="yearLimit" class="form-control" type="text" placeholder="房屋产权年限">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">房屋户型：</label>
								<div class="col-sm-8">
									<input id="houseType" name="houseType" class="form-control" type="text" placeholder="输入户型（二房一厅一厨一卫）">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">建筑面积：</label>
								<div class="col-sm-8">
									<input id="coveredArea" name="coveredArea" class="form-control" type="text" placeholder="请输入房屋建筑面积">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">房屋朝向：</label>
								<div class="col-sm-8">
									<!--<input id="buildingHead" name="buildingHead" class="form-control" type="text">-->
									<select id="buildingHead" name="buildingHead"  class="form-control valid" style="width: 100%" >
										<option value="朝南" selected="selected">--朝南--</option>
										<option value="朝北" >--朝北--</option>
										<option value="朝西" >--朝西--</option>
										<option value="朝东" >--朝东--</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">所在楼层：</label>
								<div class="col-sm-8">
									<input id="floor" name="floor" class="form-control" type="text" placeholder="描述一下房屋所在楼层">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">电梯：</label>
								<div class="col-sm-8">
									<select id="elevator" name="elevator"  class="form-control valid" style="width: 100%" >
										<option value="" selected="selected">--请选择--</option>
										<option value="0" >--有配套--</option>
										<option value="1" >--无配套--</option>
									</select>
								</div>
							</div>
							 <div class="form-group">
								<label class="col-sm-3 control-label">房本年限：</label>
								<div class="col-sm-8">
									<!--<input id="permit" name="permit" class="form-control" type="text" placeholder="请输入房本年限">-->
									<select id="permit" name="permit"  class="form-control valid" style="width: 100%" >
										<option value="" selected="selected">--请选择--</option>
										<option value="满一年" >--满一年--</option>
										<option value="满二年" >--满二年--</option>
										<option value="满三年" >--满三年--</option>
										<option value="满四年" >--满四年--</option>
										<option value="满五年" >--满五年--</option>
										<option value="满六年" >--满六年--</option>
										<option value="满七年" >--满七年--</option>
										<option value="满八年" >--满八年--</option>
										<option value="满九年" >--满九年--</option>
										<option value="满十年" >--满十年--</option>
										<option value="满十一年" >--满十一年--</option>
										<option value="满十二年" >--满十二年--</option>
										<option value="满十三年" >--满十三年--</option>
										<option value="满十四年" >--满十四年--</option>
										<option value="满十五年" >--满十五年--</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">参考总价：</label>
								<div class="col-sm-8">
									<input id="price" name="price" class="form-control" type="text" placeholder="请输入房屋参考总价">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">装修程度：</label>
								<div class="col-sm-8">
									<input id="decorateDegree" name="decorateDegree" class="form-control" type="text" placeholder="请输入房屋的装修程度">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">核心卖点：</label>
								<div class="col-sm-8">
									<textarea id="desc" name="desc" class="form-control" rows="5" placeholder="请描述几条房屋的卖点"></textarea>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">业主心态：</label>
								<div class="col-sm-8">
									<textarea id="ownersDesc" name="ownersDesc" class="form-control" rows="5" placeholder="简短说一下业主卖房的心态"></textarea>
								</div>
							</div>


							<div class="form-group" style="display: none">
								<label class="col-sm-3 control-label">状态：</label>
								<div class="col-sm-8">
									<select id="status" name="status"  class="form-control valid" style="width: 100%" >
										<option value="0" selected="selected">正常</option>
										<option value="1" >废弃</option>
									</select>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
									<button type="button" class="btn closeBtn" onclick="myClose();">关闭</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="/js/appjs/hnzk/message/add.js">
	</script>
	<script>
		function myClose(){
			var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
			parent.layer.close(index); //再执行关闭

		}

	</script>
</body>
</html>
